package com.atshiyou.service;

import com.atshiyou.bean.Bills;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BillsService {
    //查询所有的账单
    public PageInfo<Bills> findAll(int typeid, String begin, String end, int page, int size);

    //插入
    public int insert(Bills record);

    //查询
    Bills selectByPrimaryKey(Integer id);

    //修改
    int updateByPrimaryKey(Bills record);

    //删除
    int deleteByPrimaryKey(Integer id);
}
